IPA: Invariant-preserving Applications for Weakly-consistent Replicated Databases

نویسندگان

  • Valter Balegas
  • Nuno M. Preguiça
  • Sérgio Duarte
  • Carla Ferreira
  • Rodrigo Rodrigues
چکیده

Storage systems based on weak consistency provide better availability and lower latency than systems that use strong consistency, especially in geo-replicated settings. However, under weak consistency, it is harder to ensure the correctness of applications, as the execution of uncoordinated operations may lead to invalid states. In this paper we show how to modify an application to make it run correctly under weak consistency. We developed an analysis that detects which operations need to be corrected, and proposes possible modifications to operations to prevent inconsistencies. This analysis allows the programmer to choose the preferred semantics for each problematic execution, while preserving the original semantics of operations when no conflicts occur. The modified application runs with small overhead when compared with its weak consistency counterpart, which cannot preserve application correctness.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Common fixed point theorems for occasionally weakly compatible mappings in Menger spaces and applications

In 2008, Al-Thaga and Shahzad [Generalized I-nonexpansive self-maps and invariant approximations, Acta Math. Sinica 24(5) (2008), 867{876]introduced the notion of occasionally weakly compatible mappings (shortly owcmaps) which is more general than all the commutativity concepts. In the presentpaper, we prove common xed point theorems for families of owc maps in Mengerspaces. As applications to ...

متن کامل

Shift Invariant Spaces and Shift Preserving Operators on Locally Compact Abelian Groups

We investigate shift invariant subspaces of $L^2(G)$, where $G$ is a locally compact abelian group. We show that every shift invariant space can be decomposed as an orthogonal sum of spaces each of which is generated by a single function whose shifts form a Parseval frame. For a second countable locally compact abelian group $G$ we prove a useful Hilbert space isomorphism, introduce range funct...

متن کامل

SEMIGROUP ACTIONS , WEAK ALMOST PERIODICITY, AND INVARIANT MEANS

Let S be a topological semigroup acting on a topological space X. We develop the theory of (weakly) almost periodic functions on X, with respect to S, and form the (weakly) almost periodic compactifications of X and S, with respect to each other. We then consider the notion of an action of Son a Banach space, and on its dual, and after defining S-invariant means for such a space, we give a...

متن کامل

Towards a Proof Framework for Information Systems with Weak Consistency

Weakly consistent data stores are more scalable and can provide a higher availability than classical, strongly consistent data stores. However, it is much harder to reason about and to implement applications, when the underlying infrastructure provides only few guarantees. In this paper, we report on work in progress on a proof framework, which can be used to formally reason about the correctne...

متن کامل

Entropy of infinite systems and transformations

The Kolmogorov-Sinai entropy is a far reaching dynamical generalization of Shannon entropy of information systems. This entropy works perfectly for probability measure preserving (p.m.p.) transformations. However, it is not useful when there is no finite invariant measure. There are certain successful extensions of the notion of entropy to infinite measure spaces, or transformations with ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1802.08474  شماره 

صفحات  -

تاریخ انتشار 2018